package common_msg

import (
	"iron_man_comm/src/goroslib/pkg/msg"
	"iron_man_comm/src/goroslib/pkg/msgs/std_msgs"
)

const (
	ControlCleanDeviceSpeed_WaterPumpClose   uint16 = 0
	ControlCleanDeviceSpeed_WaterPumpOpening uint16 = 1
	ControlCleanDeviceSpeed_WaterPumpLow     uint16 = 2
	ControlCleanDeviceSpeed_WaterPumpMiddle  uint16 = 3
	ControlCleanDeviceSpeed_WaterPumpHigh    uint16 = 4
)

type ControlCleanDeviceSpeed struct {
	msg.Package     `ros:"common_msg"`
	msg.Definitions `ros:"uint16 WaterPumpClose=0,uint16 WaterPumpOpening=1,uint16 WaterPumpLow=2,uint16 WaterPumpMiddle=3,uint16 WaterPumpHigh=4"`
	Header          std_msgs.Header
	WindFlag        bool   `rosname:"windFlag"`
	EdgeBrushFlag   bool   `rosname:"edgeBrushFlag"`
	RollBrushFlag   bool   `rosname:"rollBrushFlag"`
	LeftMopFlag     bool   `rosname:"leftMopFlag"`
	RightMopFlag    bool   `rosname:"rightMopFlag"`
	WaterPumpFlag   bool   `rosname:"waterPumpFlag"`
	WindGearSpeed   uint16 `rosname:"windGearSpeed"`
	EdgeBrushSpeed  int16  `rosname:"edgeBrushSpeed"`
	RollBrushSpeed  int16  `rosname:"rollBrushSpeed"`
	LeftMopSpeed    int16  `rosname:"leftMopSpeed"`
	LeftMopTime     uint8  `rosname:"leftMopTime"`
	RightMopSpeed   int16  `rosname:"rightMopSpeed"`
	RightMopTime    uint8  `rosname:"rightMopTime"`
	WaterPump       uint16 `rosname:"waterPump"`
}
